﻿using System;
using System.Collections.Generic;

using System.Text;
using WCSY.DAL;
using WCSY.MODEL;
using System.Data;

namespace WCSY.BLL
{
    public static class WarningManager
    {
        public static void addWarning(Warning war) {
            WarningService.addWarning(war);
        
        }

        public static void updateWarning(int id) {
            WarningService.updateWarning(id);
        
        }
        public static DataTable secAllWarning() {
            return WarningService.secAllWarning();
        }

        public static DataTable secWarningByDate()
        {
            return WarningService.secWarningByDate();
        }
    }
}
